package com.example.newspublish.pojo.entity;

import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;

import java.io.Serializable;
import java.sql.Timestamp;

@Data
@TableName("comment")
public class Comment implements Serializable {
    @TableId
    private Long id;

    @TableField("author")
    private String author;

    @TableField("comment_content")
    private String commentContent;

    @TableField("create_time")
    private Timestamp createTime;


}
